package com.zretc.dao;

import com.zretc.entity.News;

public class NewsDao {

	// 模拟一个对象(news对象)，这个news属性的类型是 News类型，是我们自己定义
	private News news;

	public void show() {
		System.out.println(news);
	}

	/**
	 * @return the news
	 */
	public News getNews() {
		return news;
	}

	/**
	 * @param news the news to set
	 */
	public void setNews(News news) {
		this.news = news;
	}

}
